package com.ninong.ker.common.tools;

/**
 * 常量类
 *
 * @author cmd
 */
public class Constants {

    public static final String TOKEN = "Authorization";

    /**
     * 用来判断是否大于0
     */
    public static final Long ZERO = 0L;
    /**
     * 默认是
     */
    public static final boolean DEFAULT_YES = true;

    /**
     * 默认否
     */
    public static final boolean DEFAULT_NO = false;
    
    /**
     * 系统默认登录密码
     */
    public static final String DEFAULT_PASSWORD = "123456";
    
    public static final String YES = "Y";
    public static final String NO = "N";
    
    /**
     * 文件存储位置，oss：存储在oss，local：存储在本地服务器
     */
    //oss
    public static final String FILE_SAVE_LOCATION_OSS = "oss";
    //本地服务器
    public static final String FILE_SAVE_LOCATION_LOCAL = "local";
    
    
    /**
     * 收付款类型，payment：付款，receive：收款
     */
    public static final String FINANCE_TYPE_PAYMENT = "payment";
    public static final String FINANCE_TYPE_RECEIVE = "receive";

    /**
     * 设备状态(未启用：unuse；已启用：using；维修中：repair；已报废：scrap；)
     */
    public static final String EQUIP_STATUS_UNUSE = "unuse";
    public static final String EQUIP_STATUS_USING = "using";
    public static final String EQUIP_STATUS_REPAIR = "repair";
    public static final String EQUIP_STATUS_SCRAP = "scrap";
    
}
